<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title></title><link href="__TMPL__Static/Css/style.css" rel="stylesheet" /><script type="text/javascript" src="__TMPL__Static/Js/jquery.js"></script><script type="text/javascript" src="__TMPL__Static/Js/base.js"></script><script type="text/javascript" src="__TMPL__Static/Js/json.js"></script><script type="text/javascript" src="__TMPL__Static/Js/jquery.pngFix.js"></script><link href="__TMPL__Static/Css/tooltip.css" rel="stylesheet" /><script type="text/javascript" src="__TMPL__Static/Js/jquery.tooltip.js"></script><script type="text/javascript"><!--
//指定当前组模块URL地址 
var URL = '__URL__';
var ROOT_PATH = '__ROOT__';
var APP	 =	 '__APP__';
var STATIC = '__TMPL__Static';
var VAR_MODULE = '<?php echo c('VAR_MODULE');?>';
var VAR_ACTION = '<?php echo c('VAR_ACTION');?>';
var CURR_MODULE = '<?php echo ($module_name); ?>';
var CURR_ACTION = '<?php echo ($action_name); ?>';

//定义JS中使用的语言变量
var CONFIRM_DELETE = '<?php echo (L("CONFIRM_DELETE")); ?>';
var AJAX_LOADING = '<?php echo (L("AJAX_LOADING")); ?>';
var AJAX_ERROR = '<?php echo (L("AJAX_ERROR")); ?>';
var ALREADY_REMOVE = '<?php echo (L("ALREADY_REMOVE")); ?>';
var SEARCH_LOADING = '<?php echo (L("SEARCH_LOADING")); ?>';
var CLICK_EDIT_CONTENT = '<?php echo (L("CLICK_EDIT_CONTENT")); ?>';
//--></script></head><body><div class="fanwe-body"><div class="fb-title"><div><p><span><?php echo ($ur_href); ?></span></p></div></div><div class="fb-body"><table class="body-table" cellpadding="0" cellspacing="1" border="0"><tr><td class="body-table-td"><div class="body-table-div"><form method='post' id="form" name="form" action="<?php echo U(MODULE_NAME.'/update');?>"><table cellpadding="4" cellspacing="0" border="0" class="table-form"><tr><th width="200"><?php echo (L("IS_GOODS_DELIST")); ?></th><td><label><input type="radio" name="settings[IS_GOODS_DELIST]" value="0" <?php if($settings["IS_GOODS_DELIST"] == 0): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("IS_GOODS_DELIST_0")); ?></span></label>&nbsp;
			<label><input type="radio" name="settings[IS_GOODS_DELIST]" value="1" <?php if($settings["IS_GOODS_DELIST"] == 1): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("IS_GOODS_DELIST_1")); ?></span></label></td></tr><tr><th>&nbsp;</th><td><P><?php echo (L("IS_GOODS_DELIST_TIP")); ?></P></td></tr><tr><th><?php echo (L("SHARE_INTERVAL_TIME")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_INTERVAL_TIME]" size="10" value="<?php echo ($settings["SHARE_INTERVAL_TIME"]); ?>" />（<?php echo (L("SECONDS")); ?>）</td></tr><tr><th><?php echo (L("SHARE_CACHE_TIME")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_CACHE_TIME]" size="10" value="<?php echo ($settings["SHARE_CACHE_TIME"]); ?>" />（<?php echo (L("SECONDS")); ?>）</td></tr><tr><th><?php echo (L("SHARE_IMAGE_SAVE_TYPE")); ?></th><td><select name="settings[SHARE_IMAGE_SAVE_TYPE]"><option value="1" <?php if($settings["SHARE_IMAGE_SAVE_TYPE"] == 1): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_IMAGE_SAVE_TYPE_1")); ?></option><option value="0" <?php if($settings["SHARE_IMAGE_SAVE_TYPE"] == 0): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_IMAGE_SAVE_TYPE_0")); ?></option></select></td></tr><tr><th>&nbsp;</th><td><P><?php echo (L("SHARE_IMAGE_SAVE_TYPE_TIP")); ?></P></td></tr><tr><th><?php echo (L("SHARE_GOODS_COUNT")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_GOODS_COUNT]" size="10" value="<?php echo ($settings["SHARE_GOODS_COUNT"]); ?>" /></td></tr><tr><th><?php echo (L("SHARE_PIC_COUNT")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_PIC_COUNT]" size="10" value="<?php echo ($settings["SHARE_PIC_COUNT"]); ?>" /></td></tr><tr><th><?php echo (L("SHARE_IS_TAG")); ?></th><td><label><input type="radio" name="settings[SHARE_IS_TAG]" value="1" <?php if($settings["SHARE_IS_TAG"] == 1): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("YES")); ?></span></label>&nbsp;
			<label><input type="radio" name="settings[SHARE_IS_TAG]" value="0" <?php if($settings["SHARE_IS_TAG"] == 0): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("NO")); ?></span></label></td></tr><tr><th><?php echo (L("SHARE_TAG_COUNT")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_TAG_COUNT]" size="10" value="<?php echo ($settings["SHARE_TAG_COUNT"]); ?>" /></td></tr><tr><th><?php echo (L("SHARE_IS_CATE")); ?></th><td><label><input type="radio" name="settings[SHARE_IS_CATE]" value="1" <?php if($settings["SHARE_IS_CATE"] == 1): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("YES")); ?></span></label>&nbsp;
			<label><input type="radio" name="settings[SHARE_IS_CATE]" value="0" <?php if($settings["SHARE_IS_CATE"] == 0): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("NO")); ?></span></label></td></tr><!--<tr><th><?php echo (L("SHARE_IS_CATE_BY_TAGS")); ?></th><td><label><input type="radio" name="settings[SHARE_IS_CATE_BY_TAGS]" value="1" <?php if($settings["SHARE_IS_CATE_BY_TAGS"] == 1): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("YES")); ?></span></label>&nbsp;
			<label><input type="radio" name="settings[SHARE_IS_CATE_BY_TAGS]" value="0" <?php if($settings["SHARE_IS_CATE_BY_TAGS"] == 0): ?>checked="checked"<?php endif; ?> /><span><?php echo (L("NO")); ?></span></label></td></tr><tr><th>&nbsp;</th><td><P><?php echo (L("SHARE_IS_CATE_BY_TAGS_TIP")); ?></P></td></tr>--><tr><th><?php echo (L("SHARE_CHECK_TYPE")); ?></th><td><select name="settings[SHARE_CHECK_TYPE]"><option value="0" <?php if($settings["SHARE_CHECK_TYPE"] == 0): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_0")); ?></option><option value="1" <?php if($settings["SHARE_CHECK_TYPE"] == 1): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_1")); ?></option><option value="2" <?php if($settings["SHARE_CHECK_TYPE"] == 2): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_2")); ?></option><option value="3" <?php if($settings["SHARE_CHECK_TYPE"] == 3): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_3")); ?></option><option value="4" <?php if($settings["SHARE_CHECK_TYPE"] == 4): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_4")); ?></option><option value="5" <?php if($settings["SHARE_CHECK_TYPE"] == 5): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_CHECK_TYPE_5")); ?></option></select></td></tr><tr><th>&nbsp;</th><td><P><?php echo (L("SHARE_CHECK_TYPE_TIP")); ?></P></td></tr><!--<tr><th><?php echo (L("SHARE_GOODS_SHOW_TYPE")); ?></th><td><select name="settings[SHARE_GOODS_SHOW_TYPE]"><option value="0" <?php if($settings["SHARE_GOODS_SHOW_TYPE"] == 0): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_GOODS_SHOW_TYPE_0")); ?></option><option value="1" <?php if($settings["SHARE_GOODS_SHOW_TYPE"] == 1): ?>selected="selected"<?php endif; ?>><?php echo (L("SHARE_GOODS_SHOW_TYPE_1")); ?></option></select></td></tr><tr><th>&nbsp;</th><td><P><?php echo (L("SHARE_GOODS_SHOW_TYPE_TIP")); ?></P></td></tr>--><tr><th><?php echo (L("SHARE_PB_LOAD_COUNT")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_PB_LOAD_COUNT]" size="10" value="<?php echo ($settings["SHARE_PB_LOAD_COUNT"]); ?>" /></td></tr><tr><th><?php echo (L("SHARE_PB_ITEM_COUNT")); ?></th><td><input type="text" class="textinput" name="settings[SHARE_PB_ITEM_COUNT]" size="10" value="<?php echo ($settings["SHARE_PB_ITEM_COUNT"]); ?>" /></td></tr><tr class="act"><th>&nbsp;</th><td><input type="submit" class="submit_btn" value="<?php echo (L("SUBMIT")); ?>" />&nbsp;&nbsp;
			<input type="reset" class="reset_btn" value="<?php echo (L("RESET")); ?>" /></td></tr></table></form></div></td></tr></table></div></div><div class="ajax-loading"></div></body><script type="text/javascript">jQuery(function($){
	updateBodyDivHeight();
	$(window).resize(function(){
		updateBodyDivHeight();
	});
	$('.imgTooltip').poshytip();
});

function updateBodyDivHeight()
{
	jQuery(".body-table-div").height(jQuery(".fanwe-body").height() - 36);
	if(jQuery(".body-table-div").get(0).scrollHeight > jQuery(".body-table-div").height())
	{
		var width = jQuery(".body-table-div").width() - 16;
		jQuery(".body-table-div > *").each(function(){
			if(!$(this).hasClass('ajax-loading'))
			{
				$(this).width(width)	
			}
		});
	}
}
</script></html>